﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WilkeService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISrvWilke" in both code and config file together.
    [ServiceContract]
    public interface ISrvWilke
    {
        [OperationContract]
        bool SetupNewGroup(string groupName);

        [OperationContract]
        bool ChangeGroupMessage(string groupName, string message);

        [OperationContract]
        bool AddProgramToGroup(string groupName, string path, string programName);

        [OperationContract]
        string ReadMessageOnClient(string message, string groupName);

        [OperationContract]
        void ClientCheckGroup(string ip);

        [OperationContract]
        List<Cls_Program> GetGroupPrograms(string groupName);

        [OperationContract]
        bool ChangeSupervisorPassword(string oldPassword, string newPassword);

        [OperationContract]
        string GetCurrentPassword();
    }
}
